﻿namespace WH.Contracts.Systems.RolePermissions
{
    /// <summary>
    /// 角色
    /// </summary>
    public class RolePermissionOutputDto
    {
        /// <summary>
        /// 主键fid
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 父节点id 默认为0位顶节点
        /// </summary>
        public string? ParentId { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public string? Code { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 图标地址 此处以layui举例：layui-icon-set
        /// </summary>           
        public string? Icon { get; set; }

        /// <summary>
        /// 连接url地址 例如：/system/organize/list
        /// </summary>           
        public string? Route { get; set; }

        /// <summary>
        /// 排序码 数字越小越靠前
        /// </summary>           
        public int SortCode { get; set; }

        public string Perms { get; set; }

        public string? PermsType { get; set; }
    }
}
